From 66e24c20de578f38c3c12375b51945697e8c35ec Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 8 Jan 2010 11:33:37 +0000 Subject: [PATCH] xend: Fix xc.physinfo() Py_BuildValue format string. Fix for 20762:a1d0a575b4ba Signed-off-by: KUWAMURA Shin'ya --- tools/python/xen/lowlevel/xc/xc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/lowlevel/xc/xc.c b/tools/python/xen/lowlevel/xc/xc.c index e7f06d6a9e..9ac35c452a 100644 --- a/tools/python/xen/lowlevel/xc/xc.c +++ b/tools/python/xen/lowlevel/xc/xc.c @@ -1149,7 +1149,7 @@ static PyObject *pyxc_physinfo(XcObject *self) nr_nodes++; } - ret_obj = Py_BuildValue("{s:i,s:i,s:i,s:i,s:i,s:l,s:l,s:l,s:i,s:s:s:s}", + ret_obj = Py_BuildValue("{s:i,s:i,s:i,s:i,s:i,s:i,s:l,s:l,s:l,s:i,s:s:s:s}", "nr_nodes", nr_nodes, "max_node_id", info.max_node_id, "max_cpu_id", info.max_cpu_id, -- 2.30.2